
$colorL: #ff9926;

.clearfix::after{
  display: block;
  content: '';
  clear: both;
}

.header{
  width: 1200px;
  height: 45px;
  margin: 0 auto;
  border-bottom: 1px solid #eee;
  .header-l{
    float: left;
    height: 45px;
    font-size: 12px;
    p{
      display: inline-block;
      line-height: 45px;
    }
    .notice{
      color: red
    }
    .collection{
      padding: 0 10px;
      a{
        color: #555;
      }
      a:hover{
        color: #222;
      }
    }
  }
  .header-r{
    float: right;
    font-size: 14px;
    ul{
      height: 45px;
      line-height: 45px;
      li{
        float: left;
        a{
          padding: 0 10px;
          border-right: 1px solid #e4e4e4;
          color: #555;
        }
        a.b-r{
          border-right: 0;
        }
        a:hover{
          color: #222;
        }
      }
    }
  }
}


.main {
  width: 1200px;
  margin: 0 auto;
  font-family: "SimHei";
  .main-top {
    .logo {
      float: left;
      height: 100px;
      img {
        margin-top: 16px;
      }
    }
    .nav {
      float: left;
      ul {
        margin-top: 40px;
        margin-left: 70px;
        li {
          float: left;
          height: 20px;
          //padding: 0 12px;
          a {
            display: inline-block;
            height: 20px;
            font-size: 20px;
            font-weight: 600;
            line-height: 20px;
            vertical-align: middle;
            color: #444;
          }
          a.active {
            color: $colorL;
          }
          i {
            display: inline-block;
            width: 7px;
            height: 20px;
            margin: 0 16px;
            vertical-align: middle;
            background: url("../img/line.gif");
          }
        }
      }
    }
    .search {
      float: right;
      width: 250px;
      height: 50px;
      margin-top: 24px;

      border: 2px solid $colorL;
      border-radius: 27px;
      input {
        float: left;
        width: 180px;
        height: 30px;
        border: 0;
        margin-top: 9px;
        margin-left: 15px;
        background: #fff;
        outline: none;
        font-size: 18px;
        font-weight: bold;
      }
      a {
        float: right;
        width: 50px;
        height: 50px;
        background: url("../img/search.gif") no-repeat 6px 8px;
      }
    }
  }
  .mian-show {
    p {
      color: #969696;
      height: 66px;
      line-height: 70px;
      font-size: 16px;
      padding-left: 26px;
      background: url("../img/home.png") no-repeat 4px center;
    }
  }

  .h5-left{
    float: left;
    width: 830px;
    border: 1px solid #ddd;
    border-radius: 10px;
    .news-detail{
      .n-d-top{
        .n-d-t-left{

        }
      }
    }
  }



  .h5-right{
    float: right;
    width: 350px;
    .download-box{
      width: 100%;
      a{
        display: block;
        width: 100%;
        img{
          width: 100%;
        }
      }
    }
    > div {
      border: 1px solid #ddd;
      border-radius: 10px;
      .top{
        height: 50px;
        margin: 0 12px;
        border-bottom: 2px solid $colorL;
        .new-icon{
          float: left;
          font-size: 26px;
          text-indent: 40px;
          line-height: 50px;
        }
        .play{
          float: right;
          font-size: 16px;
          line-height: 50px;
          a{
            color: #555;
          }
        }
      }
    }
    .tit-game{
      margin-top: 15px;
      .top .new-icon{
        background: url("../img/game-tlyx.png") no-repeat 0 8px;
      }
      .play-list{
        dl{
          float: left;
          width: 33.33%;
          padding-top: 16px;
          dt{
            border-radius: 10px;
            overflow: hidden;
            a{
              display: block;
              width: 80px; height: 80px;
              margin: 0 auto;
              img{
                width: 100%; height: 100%;
              }
            }
          }
          dd{
            padding: 8px 0;
            height: 12px;
            a{
              display: block;
              width: 100%;
              font-size: 12px;
              text-align: center;
              white-space: nowrap;
              overflow: hidden;
              text-overflow: ellipsis;
              color: #555555;
            }
          }
        }
      }
    }
    .new-news{
      margin-top: 15px;
      .top .new-icon{
        background: url("../img/game-news.png") no-repeat 0 8px;
      }
      ul.list{
        margin: 12px;
        li{
          height: 45px;
          line-height: 45px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          a{
            padding-left: 5px;
            background: url("../img/li_ico.png") no-repeat 0 5px;
            color: #555;
          }
          a:hover{
            text-decoration: underline;
            color: #ff5f4a;
          }
        }
      }
    }
    .hot-game{
      margin-top: 15px;
      .top .new-icon{
        background: url("../img/game-hot.png") no-repeat 0 8px;
      }
      ul.list{
        margin: 12px;
        li{
          height: 40px;
          .sd1{
            line-height: 40px;
            a{
              padding-left: 10px;
              background: url("../img/li_ico.png") no-repeat 0 5px;
              color: #555;
            }
            span{
              float: right;
              color: #888;
            }
          }
          .sd2{
            display: none;
          }
        }
        li.active{
          height: 80px;
          padding: 10px 0;
          border-bottom: 1px dashed #ddd;
          .sd1{
            display: none;
          }
          .sd2{
            display: block;
            img{
              float: left;
              width: 80px; height: 80px;
            }
            div{
              float: left;
              margin-left: 14px;
              p a{
                font-size: 18px;
                line-height: 30px;
                color: #222;
              }
              p span{
                line-height: 25px;
                color: #888;
              }
              p em{
                line-height: 25px;
                color: #ff4f59;
              }
            }
          }
        }
      }
    }

  }
}



.footer{
  width: 100%;
  height: 132px;
  margin-top: 100px;
  background: #333333;
  .footer-content {
    color: #e6e0d8;
    font-size: 14px;
    width: 1200px;
    height: 100%;
    margin: 0 auto;
    div {
      float: left;
    }
    .aboutUs {
      padding: 22px 0 0 40px;
      p {
        span {
          line-height: 30px;
          height: 30px;
          float:left;
        }
        .licence2 {
          padding-left: 20px;
          background: url("../img/police.png") no-repeat 0 3px;
          background-size: 18px;
        }
      }
      .link {
        height: 14px;
        padding: 8px 0;
        li {
          height: 100%;
          float: left;
          line-height: 18px;
          padding-right: 12px;
          a {
            color: #e6e0d8;
          }
        }
        li+li {
          border-left: 1px solid #e6e0d8;
          padding-left: 12px;
        }
      }
      .copyright {
        li {
          height: 30px;
          line-height: 30px;
          float:left;
          padding-right: 12px;
        }
        .licence1 {
          padding-left: 17px;
          background: url("../img/ghs.png") no-repeat 0 5px;
          background-size: 17px;
        }
      }
    }
    .code {
      padding-left: 46px;
      width: 118px;
      img{
        display: block;
        margin: 16px auto 0;
        width: 78px;
        height: 78px;
      }
      p {
        line-height: 38px;
        text-align: center;
      }
    }
  }
}
